﻿using MediatR;
using SuYuanRabbit.ErrorCode;
using SuYuanRabbit.ReadAPI.Dtos.Response;

namespace SuYuanRabbit.ReadAPI.Applications.Commands.Users
{
    /// <summary>
    /// 查询用户命令
    /// </summary>
    public class QueryUserCommand : IRequest<PaggingResult<QueryUserDto>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页显示几条
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserNickName { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string UserPhone { get; set; }
    }
}
